package com.woniu.new_orange.staff_module_dong.service;

import com.woniu.new_orange.entity.Permission;
import com.woniu.new_orange.staff_module_dong.vo.PermissionVo;

import java.util.List;

/**
 * @Program: new_orange->PermissionService
 * @Description: 菜单 权限service
 * @Author: donghang
 * @Date: 2023-02-01 11:57
 * @Version： 1.0
 **/
public interface PermissionService {

    //  董航  2023/2/1 11:48  员工菜单动态生成
    List<PermissionVo> selMenuByStaffId(Long staffId, Integer parentId);

    int deleteByPrimaryKey(Long id);

    int insert(Permission record);

    int insertSelective(Permission record);

    Permission selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Permission record);

    int updateByPrimaryKey(Permission record);
}
